import Vue from 'vue'
import App from './App.vue'
import router from './router'
import elementui from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
Vue.config.productionTip = false
Vue.use(elementui)
// 全局过滤器
Vue.filter('getArtists', function (item) {
  const singers = [];
  item.forEach((element) => {
    singers.push(element.name);
  });
  return singers.join("  ");
})
import './assets/css/iconfont.css'
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')